export default {
    chartType: {
        title: "选择图表",
        name: "type",
        list: [
            { value: "bar", text: "柱状图" },
            { value: "line", text: "折线图" },
            { value: "scatter", text: "散点图" },
            { value: "pie", text: "饼图" }
        ]
    },
    pieChartType:{

    },
    row: {
        title: "选择x轴字段",
        name: "row",
        getList: (obj) => {
            let list = []
            Object.keys(obj).forEach(k => {
                list.push({
                    value: k,
                    text: k
                })
            })
            return list
        },
        list: []
    }
}